
import java.rmi.Remote;
import java.rmi.RemoteException;

public interface NoteBoard extends Remote {
	public String getText() throws RemoteException ;
	public void appendText( String newNote ) throws RemoteException ;
	public void clean() throws RemoteException ;
	
	public Object[] getFileList(String currentPath) throws RemoteException ;
	public String changeDir(String path, String currentPath) throws RemoteException ;
	public byte[] getFile(String path, String currentPath) throws RemoteException ;
        public void sendFile(byte[] file, String fileName, String currentPath) throws RemoteException ;
	public  void  registerForCallback(ClientCallback clientCallback) throws RemoteException ;
        public void  unregisterForCallback(ClientCallback clientCallback) throws RemoteException ;
        
}
